package model;

import java.util.Date;

public class Entry
{
	private int type;
	private double value;
	private Place place;
	private Date date;
	private Bank bank;
	
	public Entry(String place)
	{
		this.type = 0;
		this.value = 0.0;
		this.place = new Place(place);
	}

	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public double getValue()
	{
		return value;
	}

	public void setValue(double value)
	{
		this.value = value;
	}

	public Place getPlace()
	{
		return place;
	}

	public void setPlace(Place place)
	{
		this.place = place;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public Bank getBank()
	{
		return bank;
	}

	public void setBank(Bank bank)
	{
		this.bank = bank;
	}
	
	
}

